Skip to content

Bulk send payout instruction reminders

Request

Sends reminders for up to 'count' eligible payout instructions of the distribution in a single batch. Eligible instructions are those still awaiting beneficiary action that have not been notified within the reminder interval, oldest reminder first; the response reports how many were actually accepted. The batch must fit within the organization's daily email send limit (otherwise the request is rejected with the current limit and usage — contact Talli support to send more emails). Accepted reminders are queued and sent gradually; the returned batch identifier tags every email produced by the batch. With 'dryRun' set to true, all validations run and the would-be batch summary is returned with status 200, but nothing is sent.

Security
oauth2(Required scopes: payoutInstructions:sendReminder)
Path
distributionIdstring, (uuid)required
Bodyapplication/jsonrequired
countinteger, (int32)required

The maximum number of reminders to send. The endpoint selects up to this many eligible payout instructions of the distribution (those awaiting action that have not been reminded recently), oldest reminder first. The response reports how many reminders were actually accepted.

dryRunboolean

When true, runs all validations (recipient selection, email send limit) and returns the would-be batch summary without sending anything. Rejections are reported exactly as for a real run.

curl -i -X POST \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/distributions/{distributionId}/payout-instructions/:send-reminders' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "count": 0,
    "dryRun": true
  }'

Responses

OK

Bodyapplication/json
dryRunbooleanrequired

True when the request was a dry run: all validations were performed and the summary returned, but no reminders were sent.

batchIdstring or null, (uuid)

The identifier of this reminder batch. All emails produced by the batch are tagged with it. Null for dry runs.

acceptedCountinteger, (int32)required

The number of reminders accepted for sending (or that would be accepted, for a dry run).

Response
{ "dryRun": true, "batchId": "5579c111-9c50-47e2-af92-f16d52e63189", "acceptedCount": 0 }